
<UserControl
	x:Class="Goldlight.SampleApplication.Views.AccountControlPanelView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:local="clr-namespace:Goldlight.SampleApplication.ViewModels.ControlPanel"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<UserControl.Resources>
		<local:AccountControlPanelViewModel x:Key="ViewModel"/>
	</UserControl.Resources>
	<DockPanel DataContext="{StaticResource ViewModel}" LastChildFill="True">
		<Expander DockPanel.Dock="Top" Header="{Binding Resources.DetailsCaption}" IsExpanded="True">
			<StackPanel Orientation="Vertical">
				<TextBlock Padding="4" ToolTip="{Binding Resources.AccountInformationTooltip}">
					<Hyperlink>
						<TextBlock Text="{Binding Resources.InformationLink}"/>
					</Hyperlink>
				</TextBlock>
				<TextBlock Padding="4" ToolTip="{Binding Resources.MoreAddressesTooltip}">
					<Hyperlink>
						<TextBlock Text="{Binding Resources.MoreAddressesLink}"/>
					</Hyperlink>
				</TextBlock>
			</StackPanel>
		</Expander>
		<Expander DockPanel.Dock="Bottom" Header="{Binding Resources.DetailsCaption}" IsExpanded="True">
			<StackPanel Orientation="Vertical">
				<TextBlock Padding="4" ToolTip="{Binding Resources.AccountInformationTooltip}">
					<Hyperlink>
						<TextBlock Text="{Binding Resources.InformationLink}"/>
					</Hyperlink>
				</TextBlock>
				<TextBlock Padding="4" ToolTip="{Binding Resources.MoreAddressesTooltip}">
					<Hyperlink>
						<TextBlock Text="{Binding Resources.MoreAddressesLink}"/>
					</Hyperlink>
				</TextBlock>
			</StackPanel>
		</Expander>
	</DockPanel>
</UserControl>